﻿using Centa.Agency.Application.Entity;

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace Service.EntityFrameWork.Mapping
{
    public class UserInfoEntityConfiguration : IEntityTypeConfiguration<UserInfo>
    {
        public void Configure(EntityTypeBuilder<UserInfo> builder)
        {
            builder.HasKey(m => m.Id);
            builder.ToTable("UserInfo");
        }
    }
}
